/*
 * @Author: funlee
 * @Email: i@funlee.cn
 * @Date: 2018-01-06 16:04:51
 * @Last Modified time: 2018-01-06 16:04:51
 * @Description: 内外旋轮曲线 
 */
import zrender from 'zrender'
const img = require('../img/github.png')
export default () => {
  console.log('start running...')
  console.log(zrender)
  var zr = zrender.init(document.getElementById('main'))
  var trochoid = new zrender.Trochoid({
    shape: {
      cx: 250,
      cy: 250,
      r: 50,
      d: 3,
      n: 'out'
    },
    cursor: 'pointer',
    draggable: true
  })
  zr.add(trochoid)
}
